package com.aijk.ehm.utils;

import java.util.HashMap;
import java.util.Map;

public class SemConst {

    /**
     * 监测数据状态
     */
    public static final byte STATUS = 1;

    public static final String DBP = "1";
    public static final String HEIGHT = "2";
    public static final String WEIGHT = "3";
    public static final String STEP = "4";
    public static final String SBP = "5";
    public static final String BP = "1";

    public static final String BPUNITS = "mmHg";
    public static final String HEIGHTUNITS = "cm";
    public static final String WEIGHTUNITS = "kg";
    public static final String STEPUNITS = "步数";

    public static final String DV = "手动输入";
    /**
     * 监测类型对照
     */
    public static final Map<String, String> DVTYPE_MAP = new HashMap<>();

    static {
        DVTYPE_MAP.put("001001", "1");
        DVTYPE_MAP.put("000001", "2");
        DVTYPE_MAP.put("000002", "3");
        DVTYPE_MAP.put("013001", "4");
        DVTYPE_MAP.put("001002", "5");
        DVTYPE_MAP.put("DBP", "1");
        DVTYPE_MAP.put("SBP", "5");
        DVTYPE_MAP.put("HI", "2");
        DVTYPE_MAP.put("BW", "3");
    }


    /**
     * 测量结果对照
     */
    public static final Map<String, String> RESULT_MAP = new HashMap<>();

    static {
        RESULT_MAP.put("normal", "-");
        RESULT_MAP.put("low", "↓");
        RESULT_MAP.put("high", "↑");
    }
}
